package com.reggie.mapper;

import com.reggie.entity.DishFlavor;

import java.util.List;

public interface DishFlavorMapper {

    /**
     * 新增口味
     * @param flavors
     */
    void addFlavor(List<DishFlavor> flavors);

    /**
     * 根据id查询口味
     * @param id
     * @return
     */
    List<DishFlavor> findById(Long id);

    /**
     * 根据id删除菜品口味
     * @param dishId
     */
    void deleteById(Long dishId);


}
